package com.ztn.iot.zhonghaichi.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ztn.base.bean.exception.BaseDTOException;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhm
 */
@Data
public class BaseEntity extends BaseDTOException {

    @ApiModelProperty(value = "生成日期")
    @TableField(value = "createdDate",fill = FieldFill.INSERT)
    public Integer createdDate;

    @ApiModelProperty(value = "更新日期")
    @TableField(value = "updateDate",fill = FieldFill.INSERT_UPDATE)
    public Integer updateDate;


}
